<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>科学三分钟</title>
    <?php wp_head(); ?>
    <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
    <script src='<?php bloginfo('template_directory'); ?>/js/jquery-3.2.1.min.js'></script>
</head>
<body>
    <header id="head">
        <p>主办单位：中国科学院物理研究所&nbsp;承办单位：中科院物理所科学传播学会&nbsp;中科院物理所工会</p>
    </header>
    <nav>
        <ul>
            <li class="logo">
                <img src="<?php bloginfo('template_directory'); ?>/img/logo.jpg" alt="">
            </li>
            <?php
            //生成导航栏菜单
               echo str_replace("</ul></div>", "", preg_replace("{<div[^>]*><ul[^>]*>}", "", wp_nav_menu(array('echo' => false)) ));

            ?>
            <li class="rgs_btn">
                <a href=""><img src="<?php bloginfo('template_directory'); ?>/img/btn_register.jpg" alt=""></a>
            </li>
        </ul>
        <div class="suitable">
            <div class="suit_left">
                <p>主办单位：中国科学院物理研究所<br>承办单位：中科院物理所科学传播学会&nbsp;中科院物理所工会</p>
            </div>
            <div class="suit_btn"></div>
        </div>
    </nav>
        